import React, { Component } from 'react';

//加载模块样式
import { registerStyle as styles } from '../../../styles';


import {
    View,
    ScrollView,
    ImageBackground
} from 'react-native';

import Registertop from './every/register_top1';
import Registerstate from './every/register_state2';
import Registerover from './every/register_over';

export default class Register extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <ImageBackground style={styles.registerall}
                source={require('../../img/app/login5.jpg')} resizeMode='cover'>
            
                    <ScrollView>
                        <Registertop navigation={this.props.navigation} />
                        <Registerstate navigation={this.props.navigation} type={this.props.navigation.state.params.type} />
                    </ScrollView>
                    <Registerover navigation={this.props.navigation} />
             
            </ImageBackground>
        )
    }
}
